writing a vector as a linear combination of other vectors